package graphe;

import java.util.Hashtable;

public class Batiment {
	private Hashtable<String,Entree> tableEntree=new Hashtable<>();
	private String nom;

	public Hashtable<String,Entree> getTableEntree() {
		return tableEntree;
	}

	public void setTableEntree(Hashtable<String,Entree> tableEntree) {
		this.tableEntree = tableEntree;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}
	
	public void addEntree(Entree e){
		this.tableEntree.put(e.getNum(),e);
	}

	public Batiment(String nom) {
		super();
		this.nom = nom;
	}

}
